<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GonzalesAdminCompanyDetail.aspx.cs" Inherits="GonzalesAdminCompanyDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="WebStyle.css" rel="stylesheet" type="text/css" />
    
        <link rel="stylesheet" href="js/windowfiles/dhtmlwindow.css" type="text/css" />
    <script type="text/javascript" src="js/windowfiles/dhtmlwindow.js">

    /***********************************************
    * DHTML Window Widget-  Dynamic Drive (www.dynamicdrive.com)
    * This notice must stay intact for legal use.
    * Visit http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    </script>

    <link rel="stylesheet" href="js/modalfiles/modal.css" type="text/css" />
    <script type="text/javascript" src="js/modalfiles/modal.js"></script>
    <script type="text/javascript" src="js/modaltools.js"></script>
    
</head>

    <script type="text/javascript" language="javascript">
                    
        function AnalyzeResultByParent() {
            
            var Result = AnalyzeModalResult(document.getElementById("ModalResult"));
            
            document.getElementById("LabelValue_Manager").innerHTML = Result["EmployeeName"];
            document.getElementById("HiddenField_CompanyManager").value = Result["EmployeeInternalID"];
                        
        }
        

    </script>   

<body>
<form id="form1" runat="server">
    <input type="hidden" name="ModalResult" id="ModalResult" />
  <div>
    <table width="100%" border="0" cellspacing="1" cellpadding="8">
      <tr>
        <td class="PageTitle"><asp:Label ID="Label_PageTitle" Text='Administration Panel' runat="server" />
        </td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="1" cellpadding="2">
          <tr>
            <td width="170" rowspan="2" valign="top"><asp:Label CssClass="FormTitle" ID="Label_Information" runat="server" Text='Administration :: Company Details and Data Export' /></td>
            <td width="8" rowspan="2" class="VerticalDivider"><p>&nbsp;</p>
                  <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p>
              <p>&nbsp;</p></td>
            <td valign="top"><asp:Table CellPadding="5" CellSpacing="0" ID="Table_MessageBox" Width="100%" runat="server" Visible="false">
              <asp:TableRow>
                <asp:TableCell CssClass="ErrorBox" ></asp:TableCell>
              </asp:TableRow>
            </asp:Table></td>
          </tr>
          <tr>
            <td valign="top"><table width="600" border="0" cellpadding="5" cellspacing="1" class="FormBorder">
              <tr>
                <td colspan="3" align="right" class="TableResultCriteriaBar">
                    <asp:ImageButton ID="ImageButton_Cancel" runat="server" ImageUrl="img/popcalendar/close.gif" OnClick="ImageButton_Cancel_Click" /><a href="GonzalesAdminClaimantsListing.aspx"></a></td>
              </tr>
              <tr>
                <td width="300" class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_CompanyID" runat="server" Text='Company ID:' /></td>
                <td colspan="2" class="FormLineItem"><asp:Label CssClass="NormalBodyText" ID="LabelValue_CompanyCode" runat="server" />                </td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_Name" runat="server" Text='Name:' /></td>
                <td colspan="2" class="FormLineItemAlt"><span class="FormLineItem">
                  <asp:TextBox CssClass="FormTextBox" ID="TextBox_CompanyName" Columns="50" runat="server" TextMode="SingleLine" />                  
                </span></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_IsRepresentative" runat="server" Text='Is Representative Office:' /></td>
                <td colspan="2" class="FormLineItem"><asp:CheckBox ID="CheckBox_IsRep" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_CreditCardPaymentType" runat="server" Text='Credit Card Payment Type:' /></td>
                <td colspan="2" class="FormLineItemAlt"><asp:DropDownList CssClass="FormDropDown" ID="DropDownList_CCPaymentType" runat="server"></asp:DropDownList></td>
              </tr>
              <tr>
                <td class="FormLineItem"><asp:Label CssClass="FormField" ID="Label_MileageRate" runat="server" Text="Mileage Rate:" /></td>
                <td colspan="2" class="FormLineItem"><asp:TextBox CssClass="FormTextBox" ID="TextBox_MileageRate" runat="server" />
                  <asp:Label CssClass="NormalBodyText" ID="Label_MileageRate2" runat="server" Text='/KM' /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_PettyCashLimit" runat="server" Text="Petty Cash Limit:" /></td>
                <td colspan="2" class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_PettyCashLimit" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItem">                  <asp:Label CssClass="FormField" ID="Label_FileOutDay" runat="server" Text='File Output Dates:' />                </td>
                <td colspan="2" class="FormLineItem"><asp:TextBox CssClass="FormTextBox" ID="TextBox_FileOutpurDay" runat="server" />
                  <asp:Label CssClass="GridViewAlertIndicator" ID="Label_PaymentDateRemarks" runat="server" Text="separated by ','" /></td>
              </tr>
              <tr visible="false">
                <td class="FormLineItemAlt" visible="false"><asp:Label CssClass="FormField" visible="false" ID="Label_CreditCardOutputDay" runat="server" Text="Credit Card Output Dates:" /></td>
                <td colspan="2" class="FormLineItemAlt" visible="false"><asp:TextBox CssClass="FormTextBox" visible="false" ID="TextBox_CCOutputDays" runat="server" /></td>
              </tr>
              <tr visible="false">
                <td class="FormLineItem" visible="false"><asp:Label CssClass="FormField" visible="false" ID="Label_CreditCardCutOff" runat="server" Text='Credit Card Cut Off Date:' /></td>
                <td colspan="2" class="FormLineItem" visible="false"><asp:TextBox CssClass="FormTextBox" visible="false" ID="TextBox_CCCutOff" runat="server" /></td>
              </tr>
              <tr>
                <td class="FormLineItemAlt"><asp:Label CssClass="FormField" ID="Label_DefaultLDAP" runat="server" Text="Default LDAP:" /></td>
                <td colspan="2" class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_DefaultLDAP" runat="server" TextMode="SingleLine" Columns="50" /></td>
              </tr>
                <tr>
                    <td class="FormLineItem">
                        <asp:Label CssClass="FormField" ID="Label_UsingVAT" runat="server" Text="Using Tax Column:" /></td>
                    <td class="FormLineItem" colspan="2">
                        <asp:CheckBox ID="CheckBox_VAT" runat="server" /></td>
                </tr>
                <tr>
                    <td class="FormLineItemAlt">
                        <asp:Label CssClass="FormField" ID="Label_ExpiryDate" runat="server" Text="Claims Valid Period:" /></td>
                    <td colspan="2" class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_ExpiryDate" runat="server" />
                    <asp:Label CssClass="NormalBodyText" ID="Label_ExpiryDateInfo" runat="server" Text="Days" /></td>
                </tr>
                <tr>
                    <td class="FormLineItem">
                        <asp:Label CssClass="FormField" ID="Label1" runat="server" Text="Unclaimed Credit Card Items Reminder:" /></td>
                    <td colspan="2" class="FormLineItem"><asp:TextBox CssClass="FormTextBox" ID="TextBox_CreditCardReminder" runat="server" />
                    <asp:Label CssClass="NormalBodyText" ID="Label2" runat="server" Text="Days" /></td>
                </tr>
                <tr>
                    <td class="FormLineItemAlt">
                        <asp:Label CssClass="FormField" ID="Label3" runat="server" Text="Approvers Reminder:" /></td>
                    <td colspan="2" class="FormLineItemAlt"><asp:TextBox CssClass="FormTextBox" ID="TextBox_ClaimsReminder" runat="server" />
                    <asp:Label CssClass="NormalBodyText" ID="Label4" runat="server" Text="Days" /></td>
                </tr>
              <tr>
                <td colspan="3" class="FormLineItem"><asp:Button CssClass="FormButton" ID="Button_Submit" runat="server" Text="Update" OnClick="Button_Submit_Click" /></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table>
  </div>
</form>
</body>
</html>
